package cc.openkit.admin.service.companyInfo.impl;

import cc.openkit.admin.dao.CompanyInfoMapper;
import cc.openkit.admin.model.CompanyInfo;
import cc.openkit.admin.service.common.impl.BaseServiceImpl;
import cc.openkit.admin.service.companyInfo.CompanyInfoService;
import cc.openkit.admin.vo.CompanyVo;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class CompanyInfoServiceImpl extends BaseServiceImpl<CompanyInfo> implements CompanyInfoService {

    private Logger log = Logger.getLogger(this.getClass());

    @Resource
    private CompanyInfoMapper companyInfoMapper;

    public List<CompanyVo> centerFindDecorationCompany(CompanyVo model) {
        return companyInfoMapper.centerFindDecorationCompany(model);
    }
}
